<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    {% for stylesheet in stylesheets %}
        {% if stylesheet.title != '' %}<!-- {{ stylesheet.title }} -->{% endif %}
        <link rel="stylesheet" href="{{ stylesheet.href }}">
    {% endfor %}
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="hold-transition login-page">
<div class="login-box">
    <div class="login-logo">
        <a href="#"><b>Bastet</b></a>
    </div>
    <!-- /.login-logo -->
    <div class="login-box-body">
        {% if info is not null %}
            <div class="callout callout-danger">
                <h4>{{info}}</h4>
            </div>
        {% endif %}
        <p class="login-box-msg">登录才能查看得分信息</p>
        <form action="{{ link_login_submit }}" method="post">
            <div class="form-group has-feedback">
                <input type="text" class="form-control" name="id" maxlength="11" placeholder="用户名" value="{{ input.name }}">
                <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
            </div>
            <div class="form-group has-feedback">
                <input type="password" class="form-control" name="password" maxlength="11" placeholder="密码">
                <span class="glyphicon glyphicon-lock form-control-feedback"></span>
            </div>
            <div class="row">
                <div class="col-xs-8">
                </div>
                <!-- /.col -->
                <div class="col-xs-4">
                    <input type="submit" name="login_submit" class="btn btn-primary btn-block btn-flat" value="登录" />
                </div>
                <!-- /.col -->
            </div>
        </form>
    </div>
    <!-- /.login-box-body -->
</div>
<!-- /.login-box -->
</body>
</html>
